home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sprite 1984 - 1993
/
Sprite 1984 - 1993.iso
/
man
/
cmds.fmt
/
txinfo.man
< prev
next >
Wrap
Text File
|
1989-07-07
|
2KB
|
69 lines
TXINFO User Commands TXINFO
_________________________________________________________________
NNAAMMEE
txinfo - Return up-to-date termcap information
SSYYNNOOPPSSIISS
ttxxiinnffoo
_________________________________________________________________
IINNTTRROODDUUCCTTIIOONN
This command will output on its standard output two shell
commands, which will set the TERM and TERMCAP enivornment
variables to contain correct information for the ttxx window
attached to /dev/tty. For this command to work properly,
the controlling terminal for the process (/dev/tty) must be
attached to a ttxx window; ttxxiinnffoo outputs ttxx commands to the
window and reads back information supplied by ttxx.
This command is particularly useful in .login files on
machines that do not have ``tx'' entries in their termcap
files (and right now there are no machines with "tx" termcap
entries), so that you can rlogin from your workstation and
get the TERM and TERMCAP environment variables defined. For
example, you might include the following shell commands in
your .login files:
if ( $TERM == tx ) then
set noglob
eval `txinfo`
unset noglob
endif
The nnoogglloobb variable must be unset while processing the the
TERMCAP entry because it contains special characters like [[,
which will confuse the shell unless nnoogglloobb is set.
SSEEEE AALLSSOO
tx
KKEEYYWWOORRDDSS
termcap, terminal emulator, typescript, window
Sprite v.1.0 Printed: July 6, 1989 1